package com.fishing;

import com.alibaba.fastjson2.JSON;
import com.fishing.util.StockUtils;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) throws IOException {
//        System.out.println(JSON.toJSONString(StockUtils.getStockPriceBySina("sz002713")));
//        System.out.println(JSON.toJSONString(StockUtils.getStockPriceBySina("sh512880")));
        System.out.println(JSON.toJSONString(StockUtils.getStockPriceBySina("sh000001")));
//        System.out.println(JSON.toJSONString(StockUtils.getStockPriceBySina("sz002709")));

    }
}
